package com.dongdong.bookstore.module.ums.mapper;

import com.dongdong.bookstore.module.ums.model.Menu;
import com.dongdong.bookstore.module.ums.model.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色表 Mapper 接口
 * </p>
 *
 * @author chiangkai
 * @since 2021-10-20
 */
public interface RoleMapper extends BaseMapper<Role> {


    List<Role> getLoleListByAdminId(Long adminId);

    List<Role> getRoleList(Long adminId);

    void updateRoleCount();
}
